package com.designPattern.strategy;

/**
 * @Auther: zwg
 * @Date: 2019/2/20 11:22
 * @Description:
 */
public class Test {
    public static void main(String[] args) {
        CalculatorContext calculatorContext = new CalculatorContext(new AdditionStrategy());
        System.out.println(calculatorContext.calculat(1,1));
    }
}
